﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace MicropleSoft.WmsApp.Base.DataBinding
{
    public class UomType
    {
        public static string DefultUomType = Quantity;
        public const string Quantity = "Quantity";
        public const string Package = "Package";
        public const string Volume = "Volume";
        public const string Weight = "Weight";
        public const string Dims = "Dims";
        public static List<UomType> GetList()
        {
            var list = new List<UomType>()
                           {
                               new UomType() {Code = Quantity, Name = "数量单位"},
                               new UomType() {Code = Package, Name = "包装单位"},
                               new UomType() {Code = Volume, Name = "体积单位"},
                               new UomType() {Code = Weight, Name = "重量单位"},
                               new UomType() {Code = Dims, Name = "长度单位"}
                           };
            return list;
        }

        public string Code { get; set; }
        public string Name { get; set; }
    }
}
